/**
 * 
 */
package neptune.web.client.commands;

import neptune.web.client.controller.UserDetailsDialogController;
import neptune.web.client.view.components.dialogs.UserDetailsDialog;

import com.google.gwt.user.client.Command;

/**
 * @author Roberto Bifulco [info@robertobifulco.it, robertobifulco.it]
 * 
 */
public class NewUserCommand implements Command {

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.google.gwt.user.client.Command#execute()
	 */
	public void execute() {
		final UserDetailsDialog dialog = new UserDetailsDialog();
		dialog.setListener(new UserDetailsDialogController());
		dialog.setUsernameEditable(true);
		dialog.center();
	}

}
